<?php 
require_once("include/conn.php");
require_once("include/config.php");
if(!empty($_GET[id])){
	$id=$_GET[id];
}

if($id==1 and $lianid==1){
//联系信息
	$sql_all="select * from $tb_wz where  id='$id'";


}else if($id==1){
//办理站简介
	$sql_all="select * from $tb_jj where  id='$id'";
}else if($id==2){
//办公电话
	$sql_all="select * from $tb_jj where  id='$id'";
}
else{
	echo "<script language=\"JavaScript\" type=\"text/JavaScript\">";
	echo "alert(\"参数不全!\");";
	echo "</script>"; 
	echo "<meta http-equiv=\"refresh\" content=\"0;URL=show.php\">";
	exit;
}
	$cn_all=mysql_db_query($db_name,$sql_all);
	if($row_all = mysql_fetch_row($cn_all)){ 
		
?>	
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php echo $row_all[1] ?></title>
	</head>
	
	<body>
	 <?php
			 include("include/top.php"); 
				
				?>	
	
	<TABLE width=775 height=50 border=1 align="center" cellPadding=5 
	cellSpacing=3 borderColor=#336699 bgColor=#e1f0ff style="BORDER-COLLAPSE: collapse" style="table-layout:fixed">
	  <TBODY>
	  <TR> 
		<TD><P class=MsoNormal style="TEXT-ALIGN: center" align=center><B><SPAN 
		  style="FONT-SIZE: 18pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'"><?php echo $row_all[1] ?></SPAN></B></P>	
	</TD>
	</TR>
	  <TR>
	  
	  
		<TD style="word-break:break-all">
		<?php echo $row_all[2] ?>
		
		
	</TD>
	
	
	</TR></TBODY></TABLE>
	<TABLE width=775 border=0 align="center" cellPadding=0 
	cellSpacing=0 borderColor=#111111 bgColor=#3399cc id=AutoNumber27 style="BORDER-COLLAPSE: collapse">
	  <TBODY>
	  <TR>
		<TD align=middle width=100%>
		  <TABLE width=100% height=37 
		  border=0  cellPadding=0 cellSpacing=0 
		  borderColor=#111111 id=AutoNumber36 
		  style="BORDER-TOP-WIDTH: 1px; BORDER-RIGHT: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid; BORDER-COLLAPSE: collapse">
			<TBODY>
			<TR>
			  <TD width=100% height=37>
				<DIV align=center>
				<CENTER>
				<TABLE width=100% 
				  border=0 align="center" cellPadding=0 cellSpacing=0 
				borderColor=#111111 id=AutoNumber37 style="BORDER-COLLAPSE: collapse">
				  <TBODY>
				  <TR>
					<TD width=299>
					  <P align=center><FONT color=#ffffff><A 
					  style="TEXT-DECORATION: none" 
					  href="javascript:window.print()" >打印</a></FONT></P></TD>
					<TD width=209>
					  <P align=center><FONT color=#ffffff><A 
					  style="TEXT-DECORATION: none" 
					  href="javascript:window.close()">关闭</a></FONT></P></TD>
					<TD width=265>
	<P align=center><A style="TEXT-DECORATION: none" 
					  href="./">返回首页</A></P></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></body>
	</html>
<?php }?>